<template>
  <view :style="themeColor">
    <view class="page">
      <fu-custom bgColor="bg-white" :isBack="true" :isBottom="true">
        <block slot="content">我的烦恼</block>
      </fu-custom>
      <!---flex布局flex布局开始-->
      <view class="flex benben-flex-layout flex-wrap align-center wodefannao_flex_1">
        <view style="position: relative">
          <swiper ref="benbenSwiperfd1_0" @change="bannerIndexfd1_0 = $event.detail.current"
            class='flex position-relative wodefannao_fd1_0' previous-margin="0rpx" next-margin="0rpx"
            :display-multiple-items="1" :interval="5000" :duration="500" :circular='true'
            indicator-color="rgba(0, 0, 0, .3)" indicator-active-color="#000000">


            <swiper-item class='flex  wodefannao_fd1_0'>
              <image class='wodefannao_fd1_0' mode="aspectFill" :src='STATIC_URL+"503.png"'></image>
            </swiper-item>


          </swiper>
          <view style="position: absolute" class="flex dot flex align-center justify-center wodefannao_swiperDotfd1_0">
            <template v-for="(item, index) in (1)">
              <view :key="index" v-if="bannerIndexfd1_0 == index"
                class="flex dot selected flex align-center justify-center wodefannao_swiperDotSelectedfd1_0">
              </view>
              <view :key="index" v-else
                class="flex dot unselected flex align-center justify-center wodefannao_swiperDotUnselectedfd1_0">
              </view>
            </template>
          </view>
        </view>
      </view>

      <!---flex布局flex布局结束-->
      <!---flex布局flex布局开始-->
      <view class="flex flex-wrap align-start justify-between benben-flex-layout wodefannao_flex_2">
        <view class='flex flex-direction flex-wrap align-stretch wodefannao_fd2_0'>
          <text class='wodefannao_fd2_0_c0'>我的烦恼</text>
          <text class='wodefannao_fd2_0_c1'>小子解释</text>
        </view>
        <view class='flex flex-direction flex-wrap align-stretch wodefannao_fd2_1'>
          <text class='wodefannao_fd2_0_c0'>我的好主意</text>
          <text class='wodefannao_fd2_0_c1'>小子解释</text>
        </view>
      </view>

      <!---flex布局flex布局结束-->
      <!---flex布局flex布局开始-->
      <view class="flex benben-flex-layout flex-wrap align-center wodefannao_flex_3">
        <view class='flex flex-wrap align-center wodefannao_fd3_0'>
          <text class='wodefannao_fd3_0_c0'>信息展示</text>
          <image class='wodefannao_fd3_0_c1' mode="aspectFit" :src='STATIC_URL+"502.png"'></image>
        </view>
        <template v-for='(item,key0) in dataList'>
          <view class='flex flex-direction flex-wrap align-stretch wodefannao_fd3_1' @tap.stop="handleJumpDiy"
            data-type="navigateTo" :data-url="`/pages/sy/fabuxiangqing/fabuxiangqing?id=${item.aid}`" :key='key0'>
            <view class='flex flex-wrap align-center'>
              <image class='wodefannao_fd3_1_c0_c0' mode="aspectFill" :src='item.user_avatar'></image>
              <view class='flex flex-direction flex-wrap align-stretch'>
                <text class='wodefannao_fd3_1_c0_c1_c0'>{{item.user_nickname}}</text>
                <text class='wodefannao_fd3_1_c0_c1_c1'>{{item.create_time}}</text>
              </view>
            </view>
            <view class='wodefannao_fd3_1_c1'>
              <text class='wodefannao_fd3_1_c1_c0'>{{item.type_name}}</text>
              <text class='wodefannao_fd3_1_c1_c1'>{{item.content}}</text>
            </view>
            <view class='flex flex-wrap align-center wodefannao_fd3_1_c2'>
              <view class='flex flex-wrap align-center'>
                <image class='wodefannao_fd3_1_c2_c0_c0' mode="aspectFill" :src='item.images'></image>
              </view>
            </view>
            <view class='flex flex-wrap align-center wodefannao_fd3_1_c3'>
              <image class='wodefannao_fd3_1_c3_c0' mode="aspectFill" :src='STATIC_URL+"507.png"'
                @tap.stop="handleJumpDiy" data-type="navigateTo" :data-url="`/pages/sy/wodefabu/wodefabu`"></image>
            </view>
          </view>
        </template>
        <fu-empty :pagingListLoadedAll="pagingListLoadedAll" :pagingListNoListData="pagingListNoListData"
          :listDataLength="listDataLength" :isLoadInit="isLoadInit"></fu-empty>
      </view>

      <!---flex布局flex布局结束-->


    </view>
  </view>
</template>
<script>
  import pagingList from '@/common/mixin/paging_list.js';
  import {
    validate
  } from '@/common/utils/validate.js'
  export default {
    components: {},
    mixins: [pagingList],

    data() {
      return {
        "bannerIndexfd1_0": 0,
        "minixPagingListsApi": "",
        "pageingListApiMethod": "",
        "allowOnloadGetList": false,
        "dataList": []
      };
    },
    computed: {
      themeColor() {
        return this.$store.getters.themeColor
      },

    },
    watch: {},
    onLoad(options) {
      this.getia656febc028907Func()
    },
    onUnload() {

    },
    onReady() {

    },
    onShow() {

    },
    onHide() {

    },
    onResize() {

    },
    onPullDownRefresh() {

    },
    onReachBottom(e) {

    },
    onPageScroll(e) {

    },
    methods: {
      //烦恼列表
      getia656febc028907Func() {
        this.minixPagingListsApi = global.apiUrls.post656febc028907;
        this.pageingListApiMethod = 'post';
        this.allowOnloadGetList = false;
        this.pagingListPostDataContent = {}
        this.listData = [];
        this.dataList = this.listData;
        this.pagingListToggle();

      },
      pagingListPostData() {
        return this.pagingListPostDataContent
      }
    }
  };
</script>
<style lang="scss" scoped>
  .page {
    width: 100vw;
    overflow-x: hidden;
    min-height: calc(100vh - var(--window-bottom));
    background: #F6F7F9;
    background-size: 100% auto;
  }

  .wodefannao_flex_0 {
    background: #fff;
    width: 750rpx;
    height: 88rpx;
    overflow: hidden;
    z-index: 10;
    top: 0rpx;
    background-size: 100% auto !important;
  }

  .wodefannao_fd0_0_c1_c0 {
    font-size: 36rpx;
    font-weight: 500;
    color: #333333;
    line-height: 88rpx;
  }

  .wodefannao_fd0_0_c0_c0 {
    font-size: 36rpx;
    color: #333;
  }

  .wodefannao_fd0_0_c0 {
    width: 120rpx;
  }

  .wodefannao_fd0_0 {
    padding: 0rpx 32rpx 0rpx 32rpx;
  }

  .wodefannao_flex_1 {
    margin: 16rpx 0rpx 16rpx 0rpx;
  }

  .wodefannao_fd1_0 {
    width: 750rpx;
    height: 350rpx;
  }

  .wodefannao_swiperDotUnselectedfd1_0 {
    border: 1px solid rgba(0, 0, 0, 0.3);
    width: 32rpx;
    height: 32rpx;
    border-radius: 100rpx 100rpx 100rpx 100rpx;
    margin: 0rpx 6rpx 0rpx 0rpx;
    font-size: 24rpx;
    color: #fff;
  }

  .wodefannao_swiperDotSelectedfd1_0 {
    border: 1px solid #00A7FF;
    width: 32rpx;
    height: 32rpx;
    border-radius: 100rpx 100rpx 100rpx 100rpx;
    margin: 0rpx 6rpx 0rpx 0rpx;
    font-size: 24rpx;
    color: #fff;
  }

  ::v-deep .wodefannao_swiperDotfd1_0 {
    position: absolute;
    bottom: 20rpx;
    left: 0rpx;
    right: 0rpx;
  }

  .wodefannao_flex_2 {
    background: linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%);
    padding: 24rpx 24rpx 40rpx 24rpx;
    border-radius: 32rpx 32rpx 0rpx 0rpx;
    margin: -60rpx 0rpx 0rpx 0rpx;
    position: relative;
    background-size: 100% auto;
    width: 750rpx;
    height: 627rpx;
  }

  .wodefannao_fd2_1 {
    background: url(image-path('505.png')) no-repeat;
    background-size: 100% 100%;
    height: 162rpx;
    width: 342rpx;
  }

  .wodefannao_fd2_0_c1 {
    color: #999999;
    font-size: 26rpx;
    font-weight: 400;
    margin: 0rpx 0rpx 0rpx 32rpx;
  }

  .wodefannao_fd2_0_c0 {
    color: #333333;
    font-size: 32rpx;
    font-weight: 800;
    margin: 32rpx 0rpx 16rpx 32rpx;
  }

  .wodefannao_fd2_0 {
    background: url(image-path('504.png')) no-repeat;
    background-size: 100% 100%;
    height: 162rpx;
    width: 342rpx;
  }

  .wodefannao_flex_3 {
    padding: 0rpx 24rpx 0rpx 24rpx;
    margin: -417rpx 0rpx 0rpx 0rpx;
  }

  .wodefannao_fd3_1_c3_c0 {
    width: 114rpx;
    height: 114rpx;
    border-radius: 0rpx 0rpx 0rpx 0rpx;
  }

  .wodefannao_fd3_1_c3 {
    position: fixed;
    bottom: calc(193rpx + var(--window-bottom));
    right: 8rpx;
    height: 114rpx;
    width: 114rpx;
    z-index: 99;
  }

  .wodefannao_fd3_1_c2_c0_c0 {
    border-radius: 16rpx;
    margin: 24rpx 10rpx 0rpx 0rpx;
    width: 156rpx;
    height: 156rpx;
  }

  .wodefannao_fd3_1_c2 {
    margin: 0rpx -10rpx 0rpx 0rpx;
  }

  .wodefannao_fd3_1_c1_c1 {
    color: #333333;
    font-size: 28rpx;
    font-weight: 400;
    margin: 0rpx 0rpx 0rpx 12rpx;
  }

  .wodefannao_fd3_1_c1_c0 {
    background: #FFF3FC;
    width: 64rpx;
    height: 32rpx;
    line-height: 32rpx;
    background-size: 100% auto;
    color: rgba(193, 99, 206, 1);
    font-size: 22rpx;
    padding: 5rpx 8rpx 5rpx 8rpx;
    border-radius: 8rpx;
  }

  .wodefannao_fd3_1_c1 {
    padding: 8rpx 8rpx 0rpx 8rpx;
  }

  .wodefannao_fd3_1_c0_c1_c1 {
    color: #999999;
    font-size: 24rpx;
    font-weight: 500;
    margin: 12rpx 0rpx 0rpx 0rpx;
  }

  .wodefannao_fd3_1_c0_c1_c0 {
    color: #333333;
    font-size: 28rpx;
    font-weight: 700;
  }

  .wodefannao_fd3_1_c0_c0 {
    width: 88rpx;
    height: 88rpx;
    border-radius: 100rpx;
    margin: 0rpx 24rpx 0rpx 0rpx;
  }

  .wodefannao_fd3_1 {
    background: var(--benbenbgColor1);
    padding: 24rpx 24rpx 24rpx 24rpx;
    background-size: 100% auto;
    width: 702rpx;
    border-radius: 16rpx;
    margin: 24rpx 0rpx 0rpx 0rpx;
    position: relative;
    z-index: 99;
  }

  .wodefannao_fd3_0_c1 {
    width: 124rpx;
    height: 10rpx;
    border-radius: 0rpx 0rpx 0rpx 0rpx;
    position: absolute;
    bottom: 0rpx;
    left: 24rpx;
  }

  .wodefannao_fd3_0_c0 {
    color: #333333;
    font-size: 32rpx;
    font-weight: 800;
    margin: 0rpx 0rpx 0rpx 24rpx;
  }

  .wodefannao_fd3_0 {
    position: relative;
  }
</style>